## Script (Python) "createapp"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=
##title=
##
from Products.CMFCore.utils import getToolByName

mt = getToolByName(context, 'portal_membership')
request = context.REQUEST
try:
    context.invokeFactory(type_name="App", id='app')
except:
    pass
return request.RESPONSE.redirect(context.absolute_url()+'/edit')
